<?php 
$cid = null;
if(isset($_SESSION['id'])){
	$cid = $_SESSION['id'];
}
if(isset($_COOKIE["id"])){
	$cid = $_COOKIE["id"];
}

?>
<link rel="stylesheet" type="text/css" href="css/public.css"/>
<link rel="stylesheet" type="text/css" href="css/style-blue.css"/>
<link href="css/css3-github-buttons-master/gh-buttons.css?v=0830" rel="stylesheet" type="text/css"/>
<div id="bheader">
		<table style='margin:0 auto;width:1000px'>
			<tr>
				<td width='50%'><div style="width:100%">拍广告，上电视，登海报？就来宝贝星启航</div></td>
				<td style='float:right'>
					<div style="width:100%;float:right">
						<?php 
							if($cid == null){
						?>
						<a id="reg" href="register.php">注册 |</a>
						<a id="login" href="#">登录</a>
						<a style='display:none' id="qqlogin" href="qq_login.php">合作登录<img style='width: 15px;' src='img/qq.logo.gif'/></a>
						<a id="cct" href="contact.php">联系我们</a>
						<a id="cct" href="contact.en.php">Join us</a>
						<?php }else{ ?>
							<a id="cct" href="contact.php">联系我们</a>
							<a id="cct" href="contact.en.php">Join us</a>
							<a id="exit" href="lib/exit.php">退出</a>
						<?php 
							}
						?>
					</div>
				</td>
			</tr>
		</table>
	</div>
<div id= "bc">
	<div id="bbaner" class='filter_case'>
		<div style="float:left;">
			<img src="img/logo.png" />
		</div>
		<div id="catg" style="padding-top:15px">
			<a href="index.php" >
				<div style="margin-left:40px;width:100px;float:left;margin-top: 10px;" class='title'>
					首页<br />HOME
				</div>
			</a>
			<a href="models.php" >
				<div style="width:100px;float:left;margin-top: 10px;" class='title'>
					模特库<br />MODELS
				</div>
			</a>
			<a href="http://www.babysail.com/home/" >
				<div style="width:120px;float:left;margin-top: 10px;" class='title'>
					成果·动态<br />&nbsp;&nbsp;&nbsp;NEWS
				</div>
			</a>
		</div>
		<div id="search" style='float:right;display:none'>
			<input style='width:200px' type="text" class="text" name="_search" id="_search" value="" placeholder="输入昵称 编号 身高..." />
			<a href="#">搜索</a>
			<br /><span>男童 女童 中国 外籍（混血）快速筛选结果</span>
		</div>
	</div>
</div>